package com.eduction.modules.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name="t_course_analyse")
@Entity
public class CourseAnalyse {
	/*CREATE TABLE `t_course_analyse` (
			  `p_id` bigint(20) NOT NULL AUTO_INCREMENT,
			  `school_id` bigint(20) NOT NULL COMMENT '学校id',
			  `kind` varchar(255) NOT NULL COMMENT '参评类别',
			  `reporting_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '申报时间',
			  `talk_course` bigint(20) NOT NULL COMMENT '说课人',
			  `course_name` varchar(255) NOT NULL COMMENT '课程名称',
			  `technical_title` varchar(32) NOT NULL COMMENT '技术职称',
			  `post` varchar(32) NOT NULL COMMENT '职务',
			  `talk_course_content` varchar(255) NOT NULL COMMENT ' 说课内容',
			  `general_comment` text NOT NULL COMMENT '总体评价',
			  `suggest` text NOT NULL COMMENT '建议',
			  PRIMARY KEY (`p_id`)
			) ENGINE=InnoDB DEFAULT CHARSET=utf8;*/

	private String pid;
	private String schoolId;//学校id
	private String expertId;//专家id
	private String kind;//参评类别
	private String reportingTime;//申报时间
	private String talkCourse;//说课人
	private String courseName;//课程名称
	private String technicalTitle;//技术职称
	private String post;//职务
	private String talkCourseContent;//说课内容
	private String generalComment;//总体评价
	private String sign;//标识
	private String suggest;//建议 
	
	private String schoolName;//学校名称
	private String expertName;//专家名称
	@Transient
	public String getSchoolName() {
		return schoolName;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="p_id")
	public String getPid() {
		return pid;
	}
	@Column(name="school_id")
	public String getSchoolId() {
		return schoolId;
	}
	@Column(name="expert_id")
	public String getExpertId() {
		return expertId;
	}
	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}
	@Column(name="kind")
	public String getKind() {
		return kind;
	}
	@Column(name="reporting_time")
	public String getReportingTime() {
		return reportingTime;
	}
	@Column(name="talk_course")
	public String getTalkCourse() {
		return talkCourse;
	}
	@Column(name="course_name")
	public String getCourseName() {
		return courseName;
	}
	@Column(name="technical_title")
	public String getTechnicalTitle() {
		return technicalTitle;
	}
	@Column(name="post")
	public String getPost() {
		return post;
	}
	@Column(name="talk_course_content")
	public String getTalkCourseContent() {
		return talkCourseContent;
	}
	@Column(name="general_comment")
	public String getGeneralComment() {
		return generalComment;
	}
	@Column(name="sign")
	public String getSign() {
		return sign;
	}
	@Column(name="suggest")
	public String getSuggest() {
		return suggest;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public void setKind(String kind) {
		this.kind = kind;
	}
	public void setReportingTime(String reportingTime) {
		this.reportingTime = reportingTime;
	}
	public void setTalkCourse(String talkCourse) {
		this.talkCourse = talkCourse;
	}
	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	public void setTechnicalTitle(String technicalTitle) {
		this.technicalTitle = technicalTitle;
	}
	public void setPost(String post) {
		this.post = post;
	}
	public void setTalkCourseContent(String talkCourseContent) {
		this.talkCourseContent = talkCourseContent;
	}
	public void setGeneralComment(String generalComment) {
		this.generalComment = generalComment;
	}
	public void setSuggest(String suggest) {
		this.suggest = suggest;
	}
	public void setExpertId(String expertId) {
		this.expertId = expertId;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	@Transient
	public String getExpertName() {
		return expertName;
	}
	public void setExpertName(String expertName) {
		this.expertName = expertName;
	}
	
}
